﻿using System.Collections.Generic;

namespace Fee.Orders.AuthProjectWorkflow
{
    public class StationCostDetail
    {
        public int Id { get; set; }
        //public Station Station { get; set; }
        public ConstructionTask ConstructionTask { get; set; }


        public IList<AuthProjectOrderCostDetail> CostDetails { get; set; } = new List<AuthProjectOrderCostDetail>();

        public void Cauclate()
        {
            foreach (var costDetail in this.CostDetails)
            {
                costDetail.CalculateBy(this.ConstructionTask);
            }
        }
    }
}